package com.aspose.cells;

import java.util.ArrayList;

class znh extends zbz {
   private ArrayList a;
   private long d;

   znh() {
      this.c(215);
   }

   void a(ArrayList var1) {
      this.a = var1;
   }

   void a(zqa var1) throws Exception {
      this.d = var1.b();
      if (this.a.size() > 0) {
         this.a((short)(2 * this.a.size()));
         var1.a(this.f());
         var1.a(this.d());
         int var2 = this.a.size();

         for(int var3 = 0; var3 < var2; ++var3) {
            long var4 = (Long)this.a.get(var3);
            if (var3 == 0) {
               var1.a((this.d & 4294967295L) - (var4 & 4294967295L));
            } else if (var3 > 1) {
               var1.b((int)((var4 & 4294967295L) - ((Long)this.a.get(var3 - 1) & 4294967295L)));
            }
         }
      } else {
         var1.a(this.f());
         var1.c(4);
         var1.a((int)0);
      }

   }
}
